import { IFeidaoAiBrowserPage } from '@feidao/web/interfaces';
import { anim, play } from '@feidao/animation';

export default async function a001(fd: IFeidaoAiBrowserPage, ...args: any[]) {
	const topBar = document.getElementById('ZJ202001050000000002');
	const mainArea = document.getElementById('zj-qualification-001');
	const left = document.getElementById('left');
	[left, topBar, mainArea].map((e) => {
		console.log(e);
		e.addEventListener('click', () => {
			const toem_ditch_edit_box = document.getElementById('zj-qualification-003');
			if (toem_ditch_edit_box.style.right === '0px') {
				play(anim(toem_ditch_edit_box, {
				}, {
						right: {
							start: 0,
							end: -1100
						}
					}));
			}
		});
	});

}